<%@page pageEncoding="UTF-8" isELIgnored="false"%>
<%@include file="/common.jsp" %>
<!DOCTYPE html>
<html>
<head>
<%@include file="/common_meta.jsp" %>
<%@include file="/amd_common_meta.jsp" %>
<title>AMD お気に入り検索</title>
</head>
<body>
<div data-role="page">
<div data-role="header" data-position="fixed">メンバー検索<a href="/" data-role="button" data-icon="home" data-iconpos="notext" class="ui-btn-right jqm-home" rel="external"></a></div>
<div data-role="content">
<form name="f1" method="post" action="${f:url('search')}">
<div data-role="fieldcontain">
<lable for="myName"></lable>
<input type="search" id="search" ${f:text("myName")}/>
</div>
<%-- 
チーム：<input type="text" ${f:text("team")}/><br/>
出身：<input type="text" ${f:text("comeFrom")}/><br/>
年齢：
<select name="ageFrom">
<option ${f:select("ageFrom", "")}> - </option>
<option ${f:select("ageFrom", "10")}>10</option>
<option ${f:select("ageFrom", "20")}>20</option>
<option ${f:select("ageFrom", "30")}>30</option>
</select>才
～
<select name="ageTo">
<option ${f:select("ageTo", "")}> - </option>
<option ${f:select("ageTo", "10")}>10</option>
<option ${f:select("ageTo", "20")}>20</option>
<option ${f:select("ageTo", "30")}>30</option>
</select>才
<br />
<input type="text" ${f:text("age")}/><br/>
血液型：<input type="text" ${f:text("bloodType")}/><br/>
スリーサイズ：B(<input type="text" size="2" ${f:text("bust")}/>),
W(<input type="text" size="2" ${f:text("waist")}/>),
H(<input type="text" size="2" ${f:text("hip")}/>)<br/>
--%>
<input type="submit" value="検索" data-inline=“true”/>
</form>
<br/>
<%-- 
<c:forEach var="e" items="${resultList}" varStatus="status">
<c:set var="showUrl" value="/info/show/${f:h(e.key)}"/>
<c:set var="profileUrl" value="/info/profile/${f:h(e.key)}"/>
<h3>■<c:out value="${f:h(e.myName)}"/></h3>
<c:if test="${pageMode != 'mobile' && status.index < 5}">
<img src="${f:url(showUrl)}" width="280" height="340" /><br/>
</c:if>
<div data-inline=“true”>
<c:if test="${!empty e.wikiUrl}">
<a href="${e.wikiUrl}" target="_blank" data-role="button" data-inline=“true”>Wikiを確認</a>
</c:if>
<c:if test="${!empty e.ekeUrl}">
<a href="${e.ekeUrl}" target="_blank" data-role="button" data-inline=“true”>エケを確認</a>
</c:if>
<c:if test="${!empty e.myName}">
<a href="${f:url(profileUrl)}" target="_blank" data-role="button" data-inline=“true”>プロフィール</a>
</c:if>
</div>
<br/>
</c:forEach>
--%>
<c:if test="${empty resultList}">
<span class="attention-words">※キーワードを入力して検索ボタンを押してください。</span><br/>
</c:if>
<c:if test="${!empty resultList}">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">検索結果</li>
<c:forEach var="e" items="${resultList}">
<c:set var="showUrl" value="/info/show/${f:h(e.key)}"/>
<c:set var="profileUrl" value="/info/profile/${f:h(e.key)}"/>
<li><a href="${f:url(profileUrl)}" target="_blank">
<c:if test="${pageMode != 'mobile' }">
<img src="${f:url(showUrl)}"/>
</c:if>
<c:out value="${f:h(e.myName)}"/>
<c:if test="${!empty e.group}">
(
<c:out value="${f:h(e.group)}"/>
<c:if test="${!empty e.team}">
- チーム<c:out value="${f:h(e.team)}"/>
</c:if>
)
</c:if>
</a>
</li>
</c:forEach>
</ul>
</c:if>
<br/>
<a href="http://www.amazon.co.jp/gp/aw/rd.html?ie=UTF8&dl=1&uid=NULLGWDOCOMO&lc=msn&a=B004U8CH1S&at=&url=%2Fgp%2Faw%2Fd.html"><img border="0" src="http://ws.assoc-amazon.jp/widgets/q?_encoding=UTF8&Format=_FMjpg_SL80_&ASIN=B004U8CH1S&MarketPlace=JP&ID=AsinImage&WS=1&tag=27olderistrad-22&ServiceVersion=20070822" ></a><img src="http://www.assoc-amazon.jp/e/ir?t=&l=as2&o=9&a=B004U8CH1S" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />
</div>
<%@include file="/common_footer.jsp" %><br/>
</div>
</body>
</html>
